package org.learn.java.observ;

public class WachTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Change change = new Change();
		Wach a = new Wach();
		Wach b = new Wach();
		Wach c = new Wach();
		change.addObserver(a);
		change.addObserver(b);
		change.addObserver(c);
		change.setName("李华");
		//change.notifyObservers();
	}

}
